package io.renren.modules.app.service;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import io.renren.modules.app.entity.ibps.BpmDef;

/**
 * 流程定义
 * @author Administrator
 *
 */
public interface IBpmDefService extends JpaRepository<BpmDef, String> {
	@Query(value = "SELECT * FROM IBPS_BPM_DEF WHERE def_key_ IN(?1)", nativeQuery = true)
	List<BpmDef> findBpmDefByKyes(List<String> keys);
}
